//
//  NSString+FirstAndCapital.m
//  08-类的扩展
//
//  Created by dllo on 16/7/13.
//  Copyright © 2016年 daming. All rights reserved.
//

#import "NSString+FirstAndCapital.h"

@implementation NSString (FirstAndCapital)
- (NSString *)getFirstAndCapital {
    NSString *string = [self substringWithRange:NSMakeRange(0, 1)];
    string = [string capitalizedString];
    return string;
}
@end
